import request from '@/utils/request'

// 查询ccc列表
export function listCased(query) {
  return request({
    url: '/system/cased/list',
    method: 'get',
    params: query
  })
}

// 查询ccc详细
export function getCased(cid) {
  return request({
    url: '/system/cased/' + cid,
    method: 'get'
  })
}

// 新增ccc
export function addCased(data) {
  return request({
    url: '/system/cased',
    method: 'post',
    data: data
  })
}

// 修改ccc
export function updateCased(data) {
  return request({
    url: '/system/cased',
    method: 'put',
    data: data
  })
}

// 删除ccc
export function delCased(cid) {
  return request({
    url: '/system/cased/' + cid,
    method: 'delete'
  })
}
